

public class Work03 {
    static int GCD(int a,int b){
        return b > 0? GCD(b,a%b):a;
    }

    public static void main(String[] args) {
        System.out.println(GCD(12,15));
    }
}
